﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="BaiViet_List.aspx.cs" Inherits="WEBSITE_BANDEAL.Admin.BaiViet_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="centercontent">
  <div class="pageheader">
    <h1 class="pagetitle">
        <asp:Literal ID="lit_title" runat="server"></asp:Literal>
    </h1>
    <ul class="hornav">
      <li class="current"><a href="#basicform">Xem</a></li>
    </ul>
  </div>
  <!--pageheader-->
  <input type="hidden" id="page" value="baiviet" />
  <div id="contentwrapper" class="contentwrapper">
    <div id="basicform" class="subcontent">
      <div class="contenttitle2">
        <h3>
          <asp:Literal ID="lit_title_header" runat="server"></asp:Literal>
        </h3>
      </div>
      <!--contenttitle-->
      <div class="notibar msgalert" style=" display:none;"> <a class="close"></a>
        <p>Dữ liệu đang được sử dụng. Không thể xóa</p>
      </div>
      <div class="notibar msgsuccess" style=" display:none;"> <a class="close"></a>
        <p>Xử lý thành công</p>
      </div>
      <div class="notibar msgerror" style=" display:none;"> <a class="close"></a>
        <p>Đã xảy ra lỗi xử lý</p>
      </div>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                    <table cellpadding="0" cellspacing="0" border="0" class="stdtable stdtablecb" id="dyntable2">
        <colgroup>
        <col class="con0" style="width: 4%" />
        <col class="con1" />
        <col class="con0" />
        <col class="con1" />
        <col class="con0" />
        <col class="con1" />
        </colgroup>
        <thead>
          <tr>
            <th class="head0 nosort"><input type="checkbox"  class="checkall" /></th>
            <th class="head0">Tiêu đề</th>
            <th class="head1">thuộc về</th>
              <th class="head1">Nội dung</th>
            <th class="head1">Trạng thái</th>
            <th class="head0">Xử lý</th>
          </tr>
        </thead>
        <tbody>
            </HeaderTemplate>
            <ItemTemplate>
          <tr class="gradeX" id='cate_<%#Eval("Mabv")%>'>
            <td align="center"><span class="center">
              <input type="checkbox" value="<%#Eval("Mabv")%>" />
              </span></td>
            <td><a onclick="OpenWindow(this.href);return false;" href="BaiViet_Edit.aspx?ID=<%#Eval("Mabv")%>&close=true" ><%#Eval("Tenbv")%></a></td>
            <td>
                <asp:Literal ID="lit_tencha" runat="server"></asp:Literal></td>
              <td class="center">
                <asp:Literal ID="lit_noidung" runat="server"></asp:Literal></td>
            <td class="center">
                <asp:Literal ID="lit_trangthai" runat="server"></asp:Literal></td>
            <td class="center"><a class="btn btn3 btn_pencil" onclick="OpenWindow(this.href);return false;" href="BaiViet_Edit.aspx?ID=<%#Eval("Mabv")%>&close=true""></a> &nbsp;<a class="btn btn3 btn_trash ask" title="Xóa" href="javascript:DeleteCate(<%#Eval("Mabv") %>)"  ></a></td>
          </tr>

            </ItemTemplate>
            <FooterTemplate>
      
        </tbody>
      </table>
            </FooterTemplate>
        </asp:Repeater>
  
   
    </div>
    <!--subcontent-->
    
  </div>
  <!--contentwrapper--> 
  
</div>
<!-- centercontent -->
</asp:Content>
